package com.spic.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @note 登录页面信息对象实体
 * @user 86188
 * @date 2023/2/1
 */
@ApiModel(value = "用户实体类")
public class LoginInfoModel {
    @ApiModelProperty(value = "用户名")
    @NotNull(message="用户名不允许为空")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotNull(message="密码不允许为空")
    private String password;

    private int persionId;

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPersionId() {
        return persionId;
    }

    public void setPersionId(int persionId) {
        this.persionId = persionId;
    }
}
